package com.cloudbroker.bcs.platform.ltb.bizapi.t2service.business;

import com.cloudbroker.bcs.platform.ltb.bizapi.constants.IFSFunctionIds;
import com.cloudbroker.bcs.platform.ltb.bizapi.service.user.back.UserLoginBack;
import com.cloudbroker.bcs.platform.ltb.bizapi.service.customer.vo.*;
import com.cloudbroker.bcs.platform.ltb.bizapi.service.customer.vo.CapitalLoginForm;
import com.hundsun.jresplus.remoting.impl.annotation.Service;
import com.hundsun.jresplus.remoting.impl.annotation.ServiceModule;
import com.hundsun.jresplus.remoting.impl.annotation.ServiceParam;

/**
 * Created by tianrui on 2016/7/5.
 */

@ServiceModule
public interface CustomerT2BizService {


    /**
     * 跟投者用户注册
     * @param form
     * @return CustomerRegBack
     * */
    @Service(functionId = IFSFunctionIds.IFSLTBUserCenterFunIds.FUNC_CUSTOMER_REGISTER, desc = "跟投者用户注册")
    UserLoginBack funcCustomerRegister(@ServiceParam("param") CustomerRegForm form);

    /**
     * 资金用户注册登录
     * @param param
     * @return
     */
    @Service(functionId = IFSFunctionIds.IFSLTBUserCenterFunIds.FUNC_CAPTIAL_LOGIN, desc = "资金用户注册登录")
    public UserLoginBack func_capital_account_login(CapitalLoginForm param);
}
